import React, {useState} from 'react'

function Button(props) {
    let {
        onClick,
        children
    } = props
    return (
        <>
            <button onClick={onClick}>{children || 'default'}</button>
        </>
    )
}

export default Button